package cn.iocoder.yudao.module.exam.controller.admin.studentanswer.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 考题管理新增/修改 Request VO")
@Data
public class StudentAnswerSaveReqVO {

    private Long id;

    @Schema(description = "试卷ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "30597")
    @NotNull(message = "试卷ID不能为空")
    private Long paperId;

    @Schema(description = "题号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "题号不能为空")
    private Integer questionNo;

    @Schema(description = "学生答案")
    private String studentAnswer;

    @Schema(description = "AI答案")
    private String aiRecognizedAnswer;

    @Schema(description = "得分")
    private BigDecimal score;

    @Schema(description = "错对")
    private Integer isCorrect;

    @Schema(description = "扣分原因", example = "不香")
    private String deductionReason;

    @Schema(description = "人工审核得分")
    private BigDecimal manualScore;

    @Schema(description = "教师批注")
    private String manualComment;

    @Schema(description = "批阅方式")
    private String markedBy;

}